package com.lz.gmall.payment;

import com.lz.gamll.feign.anno.EnableFeignRequestInterceptor;
import com.lz.gmall.anno.EnableSwagger2Config;
import com.lz.gmall.payment.properties.AliPayProperties;
import com.lz.gmall.rabbit.anno.EnableRabbitMqConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author 郭运龙
 */

@EnableFeignClients(basePackages = {
        "com.lz.gamll.feign.order"
})
@EnableFeignRequestInterceptor
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableConfigurationProperties(value = { AliPayProperties.class })
@EnableRabbitMqConfiguration
public class PaymentApplication {
    public static void main(String[] args) {
        SpringApplication.run(PaymentApplication.class ,args) ;
    }

}